import { createHashRouter, Navigate, RouteObject } from "react-router-dom";
import Login from '@/pages/Login'
import Layout from '@/pages/Layout'

const router: RouteObject[] =[
  {
    path: '/login',
    Component: Login
  },
  {
    path: "/",
    Component: Layout
  },
]

export default createHashRouter(router);
